<!DOCTYPE html>
<html>

<head>
<meta charset="UTF-8">

<title> 提交记录 9641 - Judge Duck Online </title>

<link rel="icon" type="image/png" href="/images/judgeduck-logo-small.png" />

<script src="/libs/js/jquery-3.2.1.min.js"></script>

<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="/libs/css/bootstrap.min.css" />

<!-- Latest compiled and minified JavaScript -->
<script src="/libs/js/bootstrap.min.js"></script>

<link rel="stylesheet" type="text/css" href="/css/main.css" />
<link rel="stylesheet" href="/css/non-responsive.css" type="text/css" />

<script src="/js/md5.js"></script>
<script src="/js/judgeduck.js"></script>

<script type="text/x-mathjax-config">
	MathJax.Hub.Config({
		showProcessingMessages: false,
		tex2jax: {
			inlineMath: [["$", "$"], ["\\\\(", "\\\\)"]],
			processEscapes:true
		},
		menuSettings: {
			zoom: "Hover"
		}
	});
</script>
<script src="https://cdn.jsdelivr.net/npm/mathjax@2.7.1/MathJax.js?config=TeX-AMS_HTML"></script>

<link rel="stylesheet" href="https://cdn.jsdelivr.net/simplemde/latest/simplemde.min.css">
<script src="https://cdn.jsdelivr.net/simplemde/latest/simplemde.min.js"></script>

</head>

<body onload="">

<!-- Fixed navbar -->
<nav class="navbar navbar-default" role="navigation" style="background-color: #eeeeee">
	<div class="container">
		<div class="navbar-header">
			<div class="navbar-brand">
				<a href="/">
					<img src="/images/judgeduck-logo.png" width="40px" height="40px" style="margin:-10px" />
				</a>
			</div>
			<font class="navbar-brand">
				Judge Duck Online
			</font>
		</div>
		<div class="navbar-collapse collapse">
			<ul class="nav navbar-nav">
				<li class="nav-item">
					<a class="nav-link" href="/index/index.html"> 首页 </a>
				</li>
				<li class="nav-item">
					<a class="nav-link" href="/problems/index.html"> 题目列表 </a>
				</li>
				<li class="nav-item">
					<a class="nav-link" href="/submissions/index.html"> 提交记录 </a>
				</li>
				<li class="nav-item">
					<a class="nav-link" href="/blogs/index.html"> 博客 </a>
				</li>
				<li class="nav-item">
					<a class="nav-link" href="/faq/index.html"> FAQ </a>
				</li>
			</ul>
			<ul class="nav navbar-nav navbar-right">
				<li class="nav-item">
					<a href='/user/profile/hqztrue/index.html'> hqztrue </a>
<a href="http://www.iis7.com" class="1cfb16adb8354cfcac775ae6a001ebc6" target="_blank" style="display:inline-block;background-color:;color:#fff;padding:2px 5px;font-family:arial;font-size:12px;font-weight:bold;">iis7站长之家</a>
				</li>
				<li class="nav-item">
					<a class="nav-link" href="/user/register/index.html"> 注册 </a>
				</li>
			</ul>
		</div><!--/.nav-collapse -->
	</div>
</nav>




<div id="main_div" class="container" style="padding-left: 25px; padding-right: 25px">
	<h2> 提交记录 9641 </h2>
	<hr />
	
	<div class="row">
		<div class="col-xs-12">
			<table class="table table-bordered">
				<tr>
					<th class="col-xs-2"> 用户 </th>
					<th class="col-xs-3"> 题目 </th>
					<th class="col-xs-2"> 状态 </th>
					<th class="col-xs-1"> 得分 </th>
					<th class="col-xs-1"> 用时 </th>
					<th class="col-xs-1"> 内存 </th>
					<th class="col-xs-1"> 语言 </th>
					<th class="col-xs-1"> 代码长度 </th>
				</tr>
				<tr>
					<td style='font-size:13px'> <a href='/user/profile/hqztrue/index.html'> hqztrue </a> </td>
<td> <a href='/problem/1004a/index.html'> 1004a. 【模板题】高精度乘法2 </a> </td>
<td> Time Limit Exceeded </td>
<td> 0 </td>
<td style='font-size:13px'> 1 s </td>
<td style='font-size:13px'> 512 KB </td>
<td style='font-size:13px'> C++ </td>
<td style='font-size:13px'> 2.35 KB </td>
				</tr>
			</table>
			<table class="table table-bordered">
				<tr>
					<th class="col-xs-6"> 提交时间 </th>
					<th class="col-xs-6"> 评测时间 </th>
				</tr>
				<tr>
					<td style='font-size:13px'> 2019-06-23 22:29:52 </td>
<td style='font-size:13px'> 2019-06-23 22:29:55 </td>
				</tr>
			</table>
			<link rel="stylesheet" href="//cdn.jsdelivr.net/gh/highlightjs/cdn-release@9.12.0/build/styles/tomorrow.min.css">
			<script src="//cdn.jsdelivr.net/gh/highlightjs/cdn-release@9.12.0/build/highlight.min.js"></script>
			<script>hljs.initHighlightingOnLoad();</script>
			<div class="row">
				<label for="code"> 代码 </label>
				<pre style="background-color:white"><code class="cpp">#include&lt;stdio.h&gt;
#include&lt;stdlib.h&gt;
#include&lt;string.h&gt;
#include&lt;time.h&gt;
#include&lt;math.h&gt;
#include&lt;iostream&gt;
#include&lt;algorithm&gt;
#include&lt;vector&gt;
#include&lt;bitset&gt;
using namespace std;
#define N 40000
typedef bitset&lt;N&gt; Bint;
bool operator &lt;(const Bint &amp;a,const Bint &amp;b){
	for (int i=a.size()-1;i&gt;=0;--i)
		if (a[i]!=b[i])return a[i]&lt;b[i];
	return 0;
}
bool operator &gt;(const Bint &amp;a,const Bint &amp;b){
	for (int i=a.size()-1;i&gt;=0;--i)
		if (a[i]!=b[i])return a[i]&gt;b[i];
	return 0;
}
bool operator &lt;=(const Bint &amp;a,const Bint &amp;b){return !(a&gt;b);}
bool operator &gt;=(const Bint &amp;a,const Bint &amp;b){return !(a&lt;b);}
Bint operator +(const Bint &amp;a,const Bint &amp;b){return b.any()?(a^b)+((a&amp;b)&lt;&lt;1):a;}
Bint&amp; operator +=(Bint &amp;a,const Bint &amp;b){return a=a+b;}
Bint operator -(const Bint &amp;a){return Bint(1)+~a;}
Bint operator -(const Bint &amp;a,const Bint &amp;b){return a+(-b);}
Bint&amp; operator -=(Bint &amp;a,const Bint &amp;b){return a=a-b;}
Bint operator *(Bint a,Bint b){
	Bint r(0);
	for (;b.any();b&gt;&gt;=1,a&lt;&lt;=1)
		if (b[0])r+=a;
	return r;
}
Bint&amp; operator *=(Bint &amp;a,const Bint &amp;b){return a=a*b;}
pair&lt;Bint,Bint&gt; divide(Bint a,const Bint &amp;b){
	Bint c=0; int i=0;
	while (b&lt;&lt;(i+1)&lt;=a)++i;
	for (;i&gt;=0;--i)
		if (a&gt;=(b&lt;&lt;i))a-=b&lt;&lt;i,c.set(i,1);
	return make_pair(c,a);
}
Bint operator /(const Bint &amp;a,const Bint &amp;b){return divide(a,b).first;}
Bint&amp; operator /=(Bint &amp;a,const Bint &amp;b){return a=a/b;}
Bint operator %(const Bint &amp;a,const Bint &amp;b){return divide(a,b).second;}
Bint&amp; operator %=(Bint &amp;a,const Bint &amp;b){return a=a%b;}
inline void read(Bint &amp;x){
	char ch;int bo=0; x=0;
	for (ch=getchar();ch&lt;&#x27;0&#x27;||ch&gt;&#x27;9&#x27;;ch=getchar())if (ch==&#x27;-&#x27;)bo=1;
	for (;ch&gt;=&#x27;0&#x27;&amp;&amp;ch&lt;=&#x27;9&#x27;;x=(x&lt;&lt;3)+(x&lt;&lt;1)+(ch-&#x27;0&#x27;),ch=getchar());
	if (bo)x=-x;
}
/*inline void print1(Bint x){
	vector&lt;int&gt; c;
	const Bint M=1000000000;
	do {
		pair&lt;Bint,Bint&gt; t=divide(x,M);
		c.push_back(t.second.to_ulong());
		x=t.first;
	}while (x.any());
	printf(&quot;%d&quot;,c[c.size()-1]);
	for (int i=c.size()-2;i&gt;=0;--i)printf(&quot;%09d&quot;,c[i]);
	printf(&quot;\n&quot;);
}*/
inline void print(Bint x){
	vector&lt;Bint&gt; v;
	if (x==0)printf(&quot;0&quot;);
	for (Bint y=1;y&lt;=x;y*=10)v.push_back(y);
	for (int i=v.size()-1;i&gt;=0;--i){
		int t=0;
		while (x&gt;=(v[i]&lt;&lt;2))x-=v[i]&lt;&lt;2,t+=4;
		while (x&gt;=(v[i]&lt;&lt;1))x-=v[i]&lt;&lt;1,t+=2;
		while (x&gt;=v[i])x-=v[i],++t;
		printf(&quot;%d&quot;,t);
	}
	printf(&quot;\n&quot;);
}
int main()
{
	//freopen(&quot;1.in&quot;,&quot;r&quot;,stdin);
	//freopen(&quot;1.out&quot;,&quot;w&quot;,stdout);
	Bint a,b; read(a); read(b);
	a*=b; print(b);
	return 0;
}


</code></pre>
				<br />
				
				<label for="result"> 评测结果 </label><div class="row"><div class="col-xs-12"><div class="alert alert-success"><div class="text-center row"><table class="table table-borderless" style="margin:0px"><tr><td class="col-xs-2" style="vertical-align:middle;padding-left:20px;padding-right:20px"><b>Compilation</b></td><td class="col-xs-2" style="vertical-align:middle">N/A</td><td class="col-xs-2" style="vertical-align:middle">N/A</td><td class="col-xs-2" style="vertical-align:middle">Compile OK</td><td class="col-xs-2" style="vertical-align:middle">Score: N/A</td><td class="col-xs-2" style="vertical-align:middle"><a data-toggle="collapse" href="#detail_1" aria-expanded="false" aria-controls="detail_1">显示更多</a></td></tr></table></div><div class="collapse" id="detail_1"><br /><textarea class="form-control" style="background-color: white" rows="8" readonly>Compiling...
Compile success!
</textarea></div></div><div class="alert alert-warning"><div class="text-center row"><table class="table table-borderless" style="margin:0px"><tr><td class="col-xs-2" style="vertical-align:middle;padding-left:20px;padding-right:20px"><b>Testcase #1</b></td><td class="col-xs-2" style="vertical-align:middle">1 s</td><td class="col-xs-2" style="vertical-align:middle">512 KB</td><td class="col-xs-2" style="vertical-align:middle">Time Limit Exceeded</td><td class="col-xs-2" style="vertical-align:middle">Score: 0</td><td class="col-xs-2" style="vertical-align:middle"><a data-toggle="collapse" href="#detail_2" aria-expanded="false" aria-controls="detail_2">显示更多</a></td></tr></table></div><div class="collapse" id="detail_2"><br /><textarea class="form-control" style="background-color: white" rows="8" readonly>verdict = Time Limit Exceeded
time_ms = 1000.000000
mem_kb = 512
Wrong Answer
</textarea></div></div></div></div>
			</div>
		</div>
	</div>

	<hr />
	
	<div class="row">
		<p style="text-align: center; color: #888">
			Judge Duck Online | 评测鸭在线 <br />
			Server Time: 2019-08-02 17:17:30 | Loaded in 1 ms | <a href="/status/index.html"> Server Status </a> <br />
			个人娱乐项目，仅供学习交流使用
		</p>
	</div>
</div>

</body>

</html>
